package com.example.demo.mapper;

import com.example.demo.entity.Pet;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface PetMapper {
    List<Pet> findAll();

    int save(Pet pet);

    int delete(Integer id);

    int update(Pet pet);
}
